package android.scanner.scan;

import android.app.Application;
import android.content.Context;
import com.zilla.android.zillacore.libzilla.Zilla;

/**
 * Created by lori.lin
 * on 15/1/20 下午4:23
 * usage:
 */
public class ScanApplication extends Application {
    private static Context context;
    @Override
    public void onCreate() {
        super.onCreate();
        ScanApplication.context = getApplicationContext();
        new Zilla().setCallBack(new Zilla.InitCallback() {
            @Override
            public void onInit(Context context) {
                //TODO 初始化操作
                initApi();
            }
        }).initSystem(this);
    }

    private void initApi(){

    }
}
